import request from '@/http/request'
// export const API_URL_UPLOAD_SINGLE_FILE_URL = process.env.VITE_API_BASE_URL + '/api/ossFiles/singleFile'

/* 获取请求参数 */
export function $getUploadFormParams (file, bizType) {  
    return request.request({
      url: '/api/ossFiles/form',
      method: 'post',
      data: { bizType : bizType, sourceFileName: file.name, sourceFileSize: file.size }
    })
  }